/*
 * Consultation.h
 *
 *  Created on: Nov 5, 2013
 *      Author: ruben
 */

#ifndef CONSULTATION_H_
#define CONSULTATION_H_
#include <string.h>

class Consultation {
private:
	int identifier;
	int serviceIdentifier;
	int userIdentifier;
	char consultationDescription[300];
	char consultationDate[8];
	char consultationTime[4];
	char response[300];
	char responseDate[8];
	char responseTime[4];
	char hide[2];

public:
	Consultation();
	Consultation( int userID, int serviceID, char *consulting );
	virtual ~Consultation();
	//getter
	int getIdentifier(){return identifier;};
	int getServiceIdentifier(){return serviceIdentifier;};
	int getUserIdentifier(){return userIdentifier;};
	char *getConsultationDescription(){return consultationDescription;};
	char *getConsultationDate(){return consultationDate;};
	char *getConsultationTime(){return consultationTime;};
	char *getResponse(){return response;};
	char *getResponseDate(){return responseDate;};
	char *getResponseTime(){return responseTime;};
	char *getHide(){return hide;};
	//setter
	void setIdentifier(int pIdentifier){identifier = pIdentifier;};
	void setServiceIdentifier(int pServiceIdentifier){serviceIdentifier = pServiceIdentifier;};
	void setUserIdentifier(int pUserIdentifier){userIdentifier = pUserIdentifier;};
	void setConsultationDescription(char pConsultationDescription[300]){strcpy(consultationDescription,pConsultationDescription);};
	void setConsultationDate(char pConsultationDate[8]){strcpy(consultationDate,pConsultationDate);};
	void SetConsultationTime(char pConsultationTime[4]){strcpy(consultationTime , pConsultationTime);};
	void setResponse(char pResponse[300]){strcpy(response, pResponse);};
	void setResponseDate(char pResponseDate[8]){strcpy(responseDate, pResponseDate);};
	void setResponseTime(char pResponseTime[4]){strcpy(responseTime, pResponseTime);};
	void setHide(char pHide[2]){strcpy(hide, pHide);};
};

#endif /* CONSULTATION_H_ */
